package com.ruoyi.project.oms.paeaAuAuditDetailfifldInfo.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.oms.paeaAuAuditDetailfifldInfo.mapper.PaeaAuAuditDetailfifldInfoMapper;
import com.ruoyi.project.oms.paeaAuAuditDetailfifldInfo.domain.PaeaAuAuditDetailfifldInfo;
import com.ruoyi.project.oms.paeaAuAuditDetailfifldInfo.service.IPaeaAuAuditDetailfifldInfoService;
import com.ruoyi.common.utils.text.Convert;

/**
 * 预警详情头信息Service业务层处理
 *
 * @author gang.wei
 * @date 2020-04-05
 */
@Service
public class PaeaAuAuditDetailfifldInfoServiceImpl extends ServiceImpl<PaeaAuAuditDetailfifldInfoMapper, PaeaAuAuditDetailfifldInfo> implements IPaeaAuAuditDetailfifldInfoService
{
    @Autowired
    private PaeaAuAuditDetailfifldInfoMapper paeaAuAuditDetailfifldInfoMapper;

    /**
     * 查询预警详情头信息
     *
     * @param id 预警详情头信息ID
     * @return 预警详情头信息
     */
    @Override
    public PaeaAuAuditDetailfifldInfo selectPaeaAuAuditDetailfifldInfoById(String id)
    {
        return paeaAuAuditDetailfifldInfoMapper.selectPaeaAuAuditDetailfifldInfoById(id);
    }

    /**
     * 查询预警详情头信息列表
     *
     * @param paeaAuAuditDetailfifldInfo 预警详情头信息
     * @return 预警详情头信息
     */
    @Override
    public List<PaeaAuAuditDetailfifldInfo> selectPaeaAuAuditDetailfifldInfoList(PaeaAuAuditDetailfifldInfo paeaAuAuditDetailfifldInfo)
    {
        return paeaAuAuditDetailfifldInfoMapper.selectPaeaAuAuditDetailfifldInfoList(paeaAuAuditDetailfifldInfo);
    }

    /**
     * 新增预警详情头信息
     *
     * @param paeaAuAuditDetailfifldInfo 预警详情头信息
     * @return 结果
     */
    @Override
    public int insertPaeaAuAuditDetailfifldInfo(PaeaAuAuditDetailfifldInfo paeaAuAuditDetailfifldInfo)
    {
        return paeaAuAuditDetailfifldInfoMapper.insertPaeaAuAuditDetailfifldInfo(paeaAuAuditDetailfifldInfo);
    }

    /**
     * 修改预警详情头信息
     *
     * @param paeaAuAuditDetailfifldInfo 预警详情头信息
     * @return 结果
     */
    @Override
    public int updatePaeaAuAuditDetailfifldInfo(PaeaAuAuditDetailfifldInfo paeaAuAuditDetailfifldInfo)
    {
        return paeaAuAuditDetailfifldInfoMapper.updatePaeaAuAuditDetailfifldInfo(paeaAuAuditDetailfifldInfo);
    }

    /**
     * 删除预警详情头信息对象
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deletePaeaAuAuditDetailfifldInfoByIds(String ids)
    {
        return paeaAuAuditDetailfifldInfoMapper.deletePaeaAuAuditDetailfifldInfoByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除预警详情头信息信息
     *
     * @param id 预警详情头信息ID
     * @return 结果
     */
    @Override
    public int deletePaeaAuAuditDetailfifldInfoById(String id)
    {
        return paeaAuAuditDetailfifldInfoMapper.deletePaeaAuAuditDetailfifldInfoById(id);
    }
}
